package com.molichuxing.services.infrastructure.service;

import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.infrastructure.dto.request.create.StoreDetailCreateDto;
import com.molichuxing.services.infrastructure.dto.request.modify.StoreDetailModifyDto;
import com.molichuxing.services.infrastructure.dto.response.StoreDetailDto;
import com.molichuxing.services.infrastructure.dto.response.StoreDto;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 门店详情表 服务类
 * </p>
 *
 * @author
 * @since 2019-08-12
 */
public interface StoreDetailService extends RootService {

    /**
     * 根据门店id获取门店详情集合
     *
     * @param ids
     * @return
     */
    Map<Integer, StoreDetailDto> getStoreDetailMapByIds(List<Integer> ids) throws Exception;

    /**
     * 根据门店id查询门店详情
     *
     * @param id
     * @return
     */
    StoreDetailDto getStoreDetailById(Integer id) throws Exception;

    /**
     * 添加门店详情
     *
     * @param storeDetailCreateDto
     * @return
     */
    Integer createStoreDetail(StoreDetailCreateDto storeDetailCreateDto) throws Exception;

    /**
     * 修改门店详情
     *
     * @param storeDetailModifyDto
     * @return
     */
    Boolean modifyStoreDetail(StoreDetailModifyDto storeDetailModifyDto) throws Exception;


}
